package com.chushouya.order.dto.api.clerk.action;

import com.chushouya.order.constants.ClerkOrderActionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel("业务员订单发货")
@Data
public class ClerkOrderExpressReserveAction extends ClerkBaseAction {

    public ClerkOrderExpressReserveAction() {
        super.setOrderAction(ClerkOrderActionEnum.DELIVERY);
    }

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private List<Long> orderIdList;

    @ApiModelProperty("快递公司")
    private String expressCompany;

    @ApiModelProperty("备注")
    private String deliveryRemark;

}
